package com.server.rule.component.triple.operator;

import com.shared.rule.TypeOperator;

public class BooleanOperatorEqual extends BooleanOperator{

	@Override
	public boolean compare(Object element1, Object element2) {
		return element1==element2;
	}

	public boolean equals(Operator o) {
		return (o instanceof BooleanOperatorEqual);
	}

	public String getHumanReadable() {
		return "=";
	}
	
	@Override
	public String toString() {
		return TypeOperator.BOOLEAN_EQUAL.toString();
	}

}
